Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
date_diff
date_diff
Alias for DateTime::diff - Returns the difference between two DateTime objects
Name:
date_diff
Category:
Date and time
Programming Language:
php
One-line Description:
Returns the difference between two days.
Related
Why Does the print Function Automatically Perform Type Conversion When Outputting Numbers?
1
Practical Solutions for PHP and MySQL Locking Transactions in High Concurrency Environments
8
How to Handle Errors and Debug When Using PHP rewind()?
9
The difference and application of mysql_fetch_array and mysql_fetch_row
2
Similar Functions
timezone_offset_get
timezone_offset_get
AliasforDateTimeZo
date_get_last_errors
date_get_last_errors
AliasforDateTime::
date_sub
date_sub
DateTime::sub-Subtra
date_diff
date_diff
AliasforDateTime::
date_modify
date_modify
AliasforDateTime::
timezone_version_get
timezone_version_get
Gettheversionoftimez
date_timestamp_set
date_timestamp_set
AliasforDateTime::
timezone_name_from_abbr
timezone_name_from_abbr
Returnthetimezonenam
Popular Articles